#include "common.h"

QTcpSocket* Common::socket = NULL;

Common::Common(){}

QTcpSocket* Common::getSocketInstance()
{
    if(socket == NULL)
    {
        socket = new QTcpSocket();
    }
    return socket;
}
